<include file="Member:header"/>
<div id="content">
    <div class="crumbs_nav mb">
        <span class="icon">当前位置：</span>
        <a href="/">首页</a>
        &gt; <a href="/">会员中心</a>
    </div>
    <!--end crumbs_nav--><include file="Member:b_menu"/><!--end w220-->
    <div class="w730 fl">
        <div class="cui-box5">
            <div class="title">
                <h2 class="tith wz2">会员中心首页</h2>
            </div>
            <!--end title-->
            <div class="cbox mh350 pa10">
                <div class="tuiguang_box">
                    <h3 class="orange mb fs14">欢迎您USER01，您目前的状态：</h3>
                    <div class="flow-steps">
                        <ol class="num2">
                            <li class="current title3">
                                <span class="first">订单信息</span>
                            </li>
                            <li class="last">
                            </li>
                        </ol>
                    </div>
                    <!--end flow-steps-->
                    <table class="hytable mb mt" width="100%">
                        <tr>
                            <td class="hyth">
                                待付款订单：
                            </td>
                            <td>
                                <strong class="orange">{$order_unpay_num}</strong>
                            </td>
                            <td class="hyth">
                                购物车：
                            </td>
                            <td>
                                <strong class="orange">{$cart_num}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td class="hyth">
                                待评价订单：
                            </td>
                            <td>
                                <strong class="orange">{$order_uncomment_num}</strong>
                            </td>
                            <td class="hyth">
                                已成交订单：
                            </td>
                            <td>
                                <strong class="orange">{$order_payed_num}</strong>
                            </td>
                        </tr>
                    </table>
                    <div class="flow-steps">
                        <ol class="num2">
                            <li class="current title3">
                                <span class="first">推广信息</span>
                            </li>
                            <li class="last">
                            </li>
                        </ol>
                    </div>
                    <!--end flow-steps-->
                    <div class="tuiguang mt mb">
                        <p>
                            您目前未开通推广功能：
                        </p>
                        <p class="icon">
                            什么是推广？如何开通推广？开通推广有什么好处？ 
                        </p>
                        <p>
                            我的推广链接：<input type="text" value="http://www.anngift.com/?from={@member_id}" class="vm mr sr" id="myurl"/><input type="submit" value="复制" class="vm sub" onclick="copyToClipboard($('#myurl').val())"/>
                        </p>
                    </div><!--end tuiguang-->
                    <table class="hytable mt" width="100%">
                        <tr>
                            <td class="bg" colspan="4">
                                <strong class="fs14 gray">总佣金：</strong>
                                <em class="pice2 ">
                                    <s class="s1 bk_element">
                                    </s>{$divide.all}
                                </em>
                            </td>
                        </tr>
                        <tr>
                            <td class="hyth">
                                未结算佣金：
                            </td>
                            <td>
                                <em class="pice2 ">
                                    <s class="s1 bk_element">
                                    </s>{$divide.unok}
                                </em>
                            </td>
                            <td class="hyth">
                                已结算佣金：
                            </td>
                            <td>
                                <em class="pice2 ">
                                    <s class="s1 bk_element">
                                    </s>{$divide.ok}
                                </em>
                            </td>
                        </tr>
                        <tr>
                            <td class="hyth">
                                佣金比率：
                            </td>
                            <td>
                                <strong class="orange">{$divide.rate}%</strong>
                            </td>
                            <td class="hyth">
                                访问次数：
                            </td>
                            <td>
                                <strong class="orange">{$divide.click}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td class="hyth">
                                订单总数：
                            </td>
                            <td>
                                <strong class="orange">{$divide.num}</strong>
                            </td>
                            <td class="hyth">
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                </div>
                <!--end tuiguang_box-->
            </div>
            <!--end cbox-->
        </div>
        <!--end cui-box5-->
    </div>
    <!--end w220-->
    <div class="clear">
    </div>
</div>
<script>
    function copyToClipboard(txt){
        if ((navigator.userAgent.indexOf('MSIE') >= 0) && (navigator.userAgent.indexOf('Opera') < 0)) {
            window.clipboardData.clearData();
            window.clipboardData.setData("Text", txt);
            alert("复制成功！")
        }
        else {
            alert("您的浏览器不支持,请手动复制");
        }
    }
</script>
<include file="Layout:footer"/>